package cn.kgc.ssm.web.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {

  private Long id;
  private String memberName;
  private String content;
  private String tel;
  private Long status;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date createTime;
  private Date updateTime;

}
